<?php

namespace app\admin\controller;

use think\Controller;

use think\Request;

use think\Db;

class Index extends Controller
{
	
	public function index($name = 'ZHANGS')
	{
		print_r($this->request->param());
		$data = Db::name('users')->find();
		$this->assign('name', $name);
		$this->assign('data', $data);
		return $this->fetch();
	}

	function index2($name='lishi')
	{
		return $this->fetch();
	}
}

